package site.jlopen.service.intf.user;

import java.util.List;

import site.jlopen.domain.user.event.UserAccountEvent;
import site.jlopen.entity.BaseResponse;
import site.jlopen.entity.user.Datas;
import site.jlopen.entity.vo.LoginRes;

public interface UserService {

	BaseResponse<LoginRes> login(String username, String password);

	BaseResponse<LoginRes> getUserByName(String username);

	BaseResponse<String> register(String username, String password);
	
	LoginRes getLoginByName(String username);
	
	List<UserAccountEvent> getUserList();

	BaseResponse<String> rePsw(Long userId);

	BaseResponse<Datas> datas(Long userId);
}
